package com.ruoyi.business.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 申请对象 t_application
 * 
 * @author lcz
 * @date 2025-01-19
 */
@Data
@ApiModel("申请对象")
public class Application extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    @ApiModelProperty("主键ID")
    private Long id;

    /** 企业id */
    @ApiModelProperty("企业id")
    private Long enterpriseId;

    /** 企业名称 */
    @Excel(name = "企业名称")
    @ApiModelProperty("企业名称")
    private String enterpriseName;

    /** 违规类目id */
    @ApiModelProperty("违规类目id")
    private Long violationCategoryId;

    /** 类目名称 */
    @Excel(name = "类目名称")
    @ApiModelProperty("类目名称")
    private String categoryName;

    /** 积分 */
    @Excel(name = "积分")
    @ApiModelProperty("积分")
    private Long integral;

    /** 审核状态（0:审核中、1:通过、2:驳回） */
    @Excel(name = "审核状态", readConverterExp = "0=:审核中、1:通过、2:驳回")
    @ApiModelProperty("审核状态（0:审核中、1:通过、2:驳回）")
    private String auditStatus;

    /** 审核意见 */
    @Excel(name = "审核意见")
    @ApiModelProperty("审核意见")
    private String auditOpinion;

    /** 申请内容 */
    @Excel(name = "申请内容")
    @ApiModelProperty("申请内容")
    private String content;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setEnterpriseId(Long enterpriseId) 
    {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseId() 
    {
        return enterpriseId;
    }
    public void setEnterpriseName(String enterpriseName) 
    {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseName() 
    {
        return enterpriseName;
    }
    public void setViolationCategoryId(Long violationCategoryId) 
    {
        this.violationCategoryId = violationCategoryId;
    }

    public Long getViolationCategoryId() 
    {
        return violationCategoryId;
    }
    public void setCategoryName(String categoryName) 
    {
        this.categoryName = categoryName;
    }

    public String getCategoryName() 
    {
        return categoryName;
    }
    public void setIntegral(Long integral) 
    {
        this.integral = integral;
    }

    public Long getIntegral() 
    {
        return integral;
    }
    public void setAuditStatus(String auditStatus) 
    {
        this.auditStatus = auditStatus;
    }

    public String getAuditStatus() 
    {
        return auditStatus;
    }
    public void setAuditOpinion(String auditOpinion) 
    {
        this.auditOpinion = auditOpinion;
    }

    public String getAuditOpinion() 
    {
        return auditOpinion;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("enterpriseId", getEnterpriseId())
            .append("enterpriseName", getEnterpriseName())
            .append("violationCategoryId", getViolationCategoryId())
            .append("categoryName", getCategoryName())
            .append("integral", getIntegral())
            .append("auditStatus", getAuditStatus())
            .append("auditOpinion", getAuditOpinion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
